package com.alibaba.aone.casestudy.common.entity;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import java.util.List;

public class Failure implements Serializable{
	private Long id;
	private String number;
	private String caseStudyNumber;
	private String title;
	private String isReasonClear;

	private Integer status;
	private Double score;
	private Integer discoveryMethod;
	private Boolean isIntegral;
	private String triggerFailureProject;
	private String codeModule;
	private String application;
	private String product;
	private String impacted;
	private String solutions;
	private String rootReasonsAnalysis;
	private String correlationDepa;
	private String processingRecord;
	private String description;
	private Date gmtCreate;
	private Date gmtModified;
	private String defini;
	private String registrant;
	
	//页面显示
	private String definiName;
	private String registrantName;
	
	public String getDefiniName() {
		String[] strarray = null;
		if(null!=defini){
		 String str=defini; 
	      strarray=str.split("-"); 
	      return strarray[1];
		}
		return null;
	}
	public String getRegistrantName() {
		String[] strarray = null;
		if(null!=registrant){
		 String str=registrant; 
	      strarray=str.split("-"); 
	      return strarray[1];
		}
		return null;
	}
	
	private List<FailureTime> failureTime;
	//private FailureRpAsignGroup failureRpAsignGroup;
	private List<FailureRpAsignGroup> failureRpAsignGroup;
	
	
	public List<FailureTime> getFailureTime() {
		return failureTime;
	}
	public void setFailureTime(List<FailureTime> failureTime) {
		this.failureTime = failureTime;
	}
	/*public FailureRpAsignGroup getFailureRpAsignGroup() {
		return failureRpAsignGroup;
	}
	public void setFailureRpAsignGroup(FailureRpAsignGroup failureRpAsignGroup) {
		this.failureRpAsignGroup = failureRpAsignGroup;
	}*/
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCaseStudyNumber() {
		return caseStudyNumber;
	}
	public void setCaseStudyNumber(String caseStudyNumber) {
		this.caseStudyNumber = caseStudyNumber;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	
	public String getIsReasonClear() {
		return isReasonClear;
	}
	public void setIsReasonClear(String isReasonClear) {
		this.isReasonClear = isReasonClear;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Double getScore() {
		return score;
	}
	public void setScore(Double score) {
		this.score = score;
	}

	public Integer getDiscoveryMethod() {
		return discoveryMethod;
	}
	public void setDiscoveryMethod(Integer discoveryMethod) {
		this.discoveryMethod = discoveryMethod;
	}
	public Boolean getIsIntegral() {
		return isIntegral;
	}
	public void setIsIntegral(Boolean isIntegral) {
		this.isIntegral = isIntegral;
	}
	public String getTriggerFailureProject() {
		return triggerFailureProject;
	}
	public void setTriggerFailureProject(String triggerFailureProject) {
		this.triggerFailureProject = triggerFailureProject;
	}
	public String getCodeModule() {
		return codeModule;
	}
	public void setCodeModule(String codeModule) {
		this.codeModule = codeModule;
	}
	public String getApplication() {
		return application;
	}
	public void setApplication(String application) {
		this.application = application;
	}
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public String getImpacted() {
		return impacted;
	}
	public void setImpacted(String impacted) {
		this.impacted = impacted;
	}
	public String getSolutions() {
		return solutions;
	}
	public void setSolutions(String solutions) {
		this.solutions = solutions;
	}
	public String getRootReasonsAnalysis() {
		return rootReasonsAnalysis;
	}
	public void setRootReasonsAnalysis(String rootReasonsAnalysis) {
		this.rootReasonsAnalysis = rootReasonsAnalysis;
	}
	public String getCorrelationDepa() {
		return correlationDepa;
	}
	public void setCorrelationDepa(String correlationDepa) {
		this.correlationDepa = correlationDepa;
	}
	
	public String getProcessingRecord() {
		return processingRecord;
	}
	public void setProcessingRecord(String processingRecord) {
		this.processingRecord = processingRecord;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	
	public String getDefini() {
		return defini;
	}
	public void setDefini(String defini) {
		this.defini = defini;
	}
	public String getRegistrant() {
		return registrant;
	}
	public void setRegistrant(String registrant) {
		this.registrant = registrant;
	}
	public List<FailureRpAsignGroup> getFailureRpAsignGroup() {
		return failureRpAsignGroup;
	}
	public void setFailureRpAsignGroup(List<FailureRpAsignGroup> failureRpAsignGroup) {
		this.failureRpAsignGroup = failureRpAsignGroup;
	}
	
	

}